import { BasicFetchResult } from '/@/api/model/baseModel';

export type MenuParams = {
  menuName?: string;
  status?: string;
};

export interface MenuListItem {
  id: number | null;
  name: string | null;
  parentId: number | null;
  path: string | null;
  component: string | null;
  redirect: string | null;
  alwaysShow: boolean | null;
  sort: number | null;
  hidden: boolean | null;
  type: number | null;
  children: object | null;
}

/**
 * @description: Request list return value
 */
export type MenuListGetResultModel = BasicFetchResult<MenuListItem>;
